//安装koa 引入koa

const Koa = require('koa');
const app = new Koa();

app.use(async (ctx) => {
     ctx.body = "hello world"
});

app.listen(3000);
console.log('app is running at port 3000');